<!---表达式、运算符（算术、逻辑、字符串）的操作--->
<HTML>

	<HEAD>
		<TITLE></TITLE>
	</HEAD>

	<BODY>
		<script language="javascript">
			document.write(3 + 3);
			document.write("<br>");
			document.write(3 * 3);
			document.write("<br>");
			document.write(3 / 3);
			document.write("<br>");
			document.write(3 - 3);
			document.write("<br>");
			document.write(true && false);
			document.write("<br>");
			document.write(false && false);
			document.write("<br>");
			document.write(true || false);
			document.write("<br>");
			document.write(!false);
			document.write("<br>");
			love = "我爱你" + "电子科大"
			document.write(love);
			document.write("<br>");
			ok = (9 > 8) ? "ok" : "bad";
			bad = (9 < 7) ? "ok" : "bad";
			document.write(ok);
			document.write("<br>");
			document.write(bad);
			document.write("<br>");
			time = 8;
			if(time < 12)
				document.write("Good morning");
			else
				document.write("Good afternoon");
		</script>
	</BODY>

</HTML>